package digitmodell;

public class Inverter extends Gate {
	public Inverter(int id) {
		this.id = id;
		this.value = false;
	}

	protected void setInput(Wire[] InputWires) {
		this.InputWire = InputWires;
	}

	public void setValue() {
		
		if (InputWire[0].getValue() == true) {
			this.value = false;
		} else {
			this.value = false;
		}

	}
}
